kexec: prefer __copy_to_guest() when possible
authorJan Beulich <jbeulich@suse.com>
Wed, 28 Jan 2015 15:32:01 +0000 (16:32 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 28 Jan 2015 15:32:01 +0000 (16:32 +0100)
commitc2ba001caf5125412bb82325f8a21f3eacf17958
tree93443b34d40c21025d94869ebf669f20a0e9e0d1
parent89c381c30b46ec714f2d5bef4b0cb6d759abc7e4
kexec: prefer __copy_to_guest() when possible

It's slightly cheaper and safe as long a copy_from_guest() for the same
guest address range was issued before.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: David Vrabel <david.vrabel@citrix.com>
xen/common/kexec.c